package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.GoodsWarehouseDao;
import com.bootdo.wx.domain.GoodsWarehouseDO;
import com.bootdo.wx.service.GoodsWarehouseService;



@Service
public class GoodsWarehouseServiceImpl implements GoodsWarehouseService {
	@Autowired
	private GoodsWarehouseDao goodsWarehouseDao;
	
	@Override
	public GoodsWarehouseDO get(String id){
		return goodsWarehouseDao.get(id);
	}
	
	@Override
	public List<GoodsWarehouseDO> list(Map<String, Object> map){
		return goodsWarehouseDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return goodsWarehouseDao.count(map);
	}
	
	@Override
	public int save(GoodsWarehouseDO goodsWarehouse){
		return goodsWarehouseDao.save(goodsWarehouse);
	}
	
	@Override
	public int update(GoodsWarehouseDO goodsWarehouse){
		return goodsWarehouseDao.update(goodsWarehouse);
	}
	
	@Override
	public int remove(String id){
		return goodsWarehouseDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return goodsWarehouseDao.batchRemove(ids);
	}

	@Override
	public List<GoodsWarehouseDO> queryAll() {
		return goodsWarehouseDao.queryAll();
	}
	
}
